﻿using System.Runtime.InteropServices;

namespace MiniJob.Worker.Jobs;

public class ShellJob : ScriptJobBase
{
    protected override string GetRunCommand()
    {
        if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
        {
            return "cmd.exe";
        }
        else
        {
            return "/bin/sh";
        }
    }
}
